﻿<div>
    <span>消息：</span>
    <span>@ViewBag.LoginState</span>
</div>
@using (Html.BeginForm("Login", "Account", FormMethod.Post,
    new Dictionary<string, object>() { { "class", "login-panel" } }))
{
    <div>welcome to login !</div>
    <div>
        <label>
            <span>账号:</span>
            <input name="account" type="text" value="" />
        </label>
    </div>
    <div>
        <label>
            <span>密码:</span>
            <input name="password" type="password" value="123456" />
        </label>
    </div>
    <div>默认密码：123456</div>
    <div>
        <input type="submit" value="登录" />
        |@Html.ActionLink("用户管理界面", "Index")
    </div>
}
